package com.fast.develop.meta.base.resource;

import java.io.InputStream;

/**
 * @author 莫寅
 * @createTime 2022-06-25 01:24
 * @desc：
 */
public class PathResource implements Resource {

    private String path;
    private InputStream inputStream;

    public PathResource(String path, InputStream inputStream) {
        this.path = path;
        this.inputStream = inputStream;
    }

    @Override
    public InputStream getInputStream() {
        return inputStream;
    }

    public String getPath() {
        return path;
    }

}
